﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020003AD RID: 941
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class DelMailCsReq : IMessage<DelMailCsReq>, IMessage, IEquatable<DelMailCsReq>, IDeepCloneable<DelMailCsReq>, IBufferMessage
	{
		// Token: 0x17000C12 RID: 3090
		// (get) Token: 0x06002A19 RID: 10777 RVA: 0x0007461C File Offset: 0x0007281C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<DelMailCsReq> Parser
		{
			get
			{
				return DelMailCsReq._parser;
			}
		}

		// Token: 0x17000C13 RID: 3091
		// (get) Token: 0x06002A1A RID: 10778 RVA: 0x00074623 File Offset: 0x00072823
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return DelMailCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000C14 RID: 3092
		// (get) Token: 0x06002A1B RID: 10779 RVA: 0x00074635 File Offset: 0x00072835
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return DelMailCsReq.Descriptor;
			}
		}

		// Token: 0x06002A1C RID: 10780 RVA: 0x0007463C File Offset: 0x0007283C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public DelMailCsReq()
		{
		}

		// Token: 0x06002A1D RID: 10781 RVA: 0x0007464F File Offset: 0x0007284F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public DelMailCsReq(DelMailCsReq other) : this()
		{
			this.idList_ = other.idList_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06002A1E RID: 10782 RVA: 0x00074679 File Offset: 0x00072879
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public DelMailCsReq Clone()
		{
			return new DelMailCsReq(this);
		}

		// Token: 0x17000C15 RID: 3093
		// (get) Token: 0x06002A1F RID: 10783 RVA: 0x00074681 File Offset: 0x00072881
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> IdList
		{
			get
			{
				return this.idList_;
			}
		}

		// Token: 0x06002A20 RID: 10784 RVA: 0x00074689 File Offset: 0x00072889
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as DelMailCsReq);
		}

		// Token: 0x06002A21 RID: 10785 RVA: 0x00074697 File Offset: 0x00072897
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(DelMailCsReq other)
		{
			return other != null && (other == this || (this.idList_.Equals(other.idList_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06002A22 RID: 10786 RVA: 0x000746CC File Offset: 0x000728CC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.idList_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06002A23 RID: 10787 RVA: 0x00074700 File Offset: 0x00072900
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06002A24 RID: 10788 RVA: 0x00074708 File Offset: 0x00072908
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06002A25 RID: 10789 RVA: 0x00074711 File Offset: 0x00072911
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.idList_.WriteTo(ref output, DelMailCsReq._repeated_idList_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06002A26 RID: 10790 RVA: 0x00074738 File Offset: 0x00072938
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.idList_.CalculateSize(DelMailCsReq._repeated_idList_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06002A27 RID: 10791 RVA: 0x00074771 File Offset: 0x00072971
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(DelMailCsReq other)
		{
			if (other == null)
			{
				return;
			}
			this.idList_.Add(other.idList_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06002A28 RID: 10792 RVA: 0x0007479F File Offset: 0x0007299F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06002A29 RID: 10793 RVA: 0x000747A8 File Offset: 0x000729A8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 16U && num != 18U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.idList_.AddEntriesFrom(ref input, DelMailCsReq._repeated_idList_codec);
				}
			}
		}

		// Token: 0x040010A6 RID: 4262
		private static readonly MessageParser<DelMailCsReq> _parser = new MessageParser<DelMailCsReq>(() => new DelMailCsReq());

		// Token: 0x040010A7 RID: 4263
		private UnknownFieldSet _unknownFields;

		// Token: 0x040010A8 RID: 4264
		public const int IdListFieldNumber = 2;

		// Token: 0x040010A9 RID: 4265
		private static readonly FieldCodec<uint> _repeated_idList_codec = FieldCodec.ForUInt32(18U);

		// Token: 0x040010AA RID: 4266
		private readonly RepeatedField<uint> idList_ = new RepeatedField<uint>();
	}
}
